<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script type="text/javascript" src="js/vue.min.js"></script>
</head>
<body>
<div id="myApp">
<h4>{{title}}</h4>
<h5>{{retunDetail()}}</h5>
<div v-html="title"></div>
<div v-html="retunDetail()"></div>
</div>
<script type="text/javascript">
var myApp = new Vue({
	el:"#myApp",
	data:{
		title:"<h3>标题</h3>"
	},
	methods:{
		retunDetail:function(){
			return "<h4>不错</h4>";
		}
	}
});
</script>
</body>
</html>